package com.senmiao.ssm.service;

import com.senmiao.ssm.entity.Admin;

import java.util.Collection;
import java.util.Set;

public interface AccessControlService {

    void login(String username,String password);
    void logout();

    Set<String> listPermissionsByUsername(String username);

    Set<String> listRolesByUsername(String username);

    Admin findPasswordByUsername(String username);
}
